package cn.controller.order;

import cn.service.orderService.OrderServiceImpl.ShipmentServiceImpl;
import entity.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 朱颢阳
 * @description
 * @time 2024/8/28 14:47
 */
@RestController
@CrossOrigin
@RequestMapping("/order")
public class ShipmentController {
    @Autowired
    ShipmentServiceImpl service;
    @RequestMapping("/getlogistics")
    public Result getlogistics(String logistics_id){
        return service.getlogistics(logistics_id);
    }
}
